package com.yuanduo_app.event;

/**
 * 主页面生命周期变化
 */
public class MainActivityLifeEvent {
    public static final int ON_CREATE = 1;
    public static final int ON_RESUME = 2;
    public static final int ON_PAUSE = 3;
    public static final int ON_STOP = 4;
    public static final int ON_DESTROY = 5;

    private int state;

    public MainActivityLifeEvent (int state) {
        this.state = state;
    }

    public int getState () {
        return state;
    }

    public void setState (int state) {
        this.state = state;
    }
}
